Clears viewport. More...
#include <kanzi/gfx/commands.hpp>
Public Member Functions | |
| ClearCommand () | |
| Constructor. | |
Public Member Functions inherited from kanzi::gfx::BaseCommand | |
| uint32_t | getSize () const |
| Gets the command size in bytes. | |
| uint8_t | getTag () const |
| Gets the command tag. | |
| CommandType | getType () const |
| Gets the command type. | |
| void | setTag (uint8_t tag) |
| Sets the command tag. | |
Public Attributes | |
| array< optional< ColorClearValue >, limits::MaxColorAttachments > | clearColors |
| An array of clear colors to use for each attachment. | |
| optional< float > | clearDepth |
| An optional depth clear value. | |
| optional< uint32_t > | clearStencil |
| An optional depth stencil clear value. | |
Additional Inherited Members | |
Protected Member Functions inherited from kanzi::gfx::BaseCommand | |
| BaseCommand (CommandType t, uint32_t s) | |
| Constructor. | |
| BaseCommand (const BaseCommand &other) | |
| Copy Constructor. | |
| BaseCommand & | operator= (const BaseCommand &other) |
| Assignment operator. | |
Clears viewport.
|
inlineexplicit |
Constructor.
| array<optional<ColorClearValue>, limits::MaxColorAttachments> kanzi::gfx::ClearCommand::clearColors |
An array of clear colors to use for each attachment.
| optional<float> kanzi::gfx::ClearCommand::clearDepth |
An optional depth clear value.
| optional<uint32_t> kanzi::gfx::ClearCommand::clearStencil |
An optional depth stencil clear value.